package com.ruoyi.users.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 wxuserinfo
 *
 * @author ruoyi
 * @date 2023-10-06
 */
public class Wxuserinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "用户ID", readConverterExp = "$column.readConverterExp()")
    private String userId;

    /** $column.columnComment */
    @Excel(name = "昵称", readConverterExp = "$column.readConverterExp()")
    private String nickName;

    /** $column.columnComment */
    @Excel(name = "头像", readConverterExp = "$column.readConverterExp()")
    private String avatarUrl;

    /** $column.columnComment */
    @Excel(name = "注册日期", readConverterExp = "$column.readConverterExp()")
    private Date registerDate;

    /** $column.columnComment */
    @Excel(name = "最后登录时间", readConverterExp = "$column.readConverterExp()")
    private Date lastLoginDate;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setAvatarUrl(String avatarUrl)
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl()
    {
        return avatarUrl;
    }
    public void setRegisterDate(Date registerDate)
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate()
    {
        return registerDate;
    }
    public void setLastLoginDate(Date lastLoginDate)
    {
        this.lastLoginDate = lastLoginDate;
    }

    public Date getLastLoginDate()
    {
        return lastLoginDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("nickName", getNickName())
                .append("avatarUrl", getAvatarUrl())
                .append("registerDate", getRegisterDate())
                .append("lastLoginDate", getLastLoginDate())
                .toString();
    }
}
